package demo;

import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 19182
 * Date: 2025-07-01
 * Time: 16:56
 */
public class Test {
    public static void main(String[] args) throws CloneNotSupportedException{
       Person person = new Person(20, 90.5, "张三", 20);
       Person person1 = (Person) person.clone();
        System.out.println(person);
        System.out.println(person1);
        person1.m.money = 40;
        System.out.println(person);
        System.out.println(person1);
    }
}
